package com.itheima.pinda.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pinda.DTO.angency.AgencyScopeDto;
import com.itheima.pinda.entity.agency.PdAgencyScope;

import java.util.List;

public interface PdAgencyScopeService extends IService<PdAgencyScope> {


    boolean batchSaveAgencyScope(List<AgencyScopeDto> dtoList);

    boolean deleteAgencyScope(AgencyScopeDto dto);

    List<AgencyScopeDto> findAll(String areaId,
                                 String agencyId,
                                 List<String> agencyIds,
                                 List<String> areaIds);
}
